package com.jxm.jdk8features;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2023-12-21 16:44
 * @Version: 1.0
 */
public class EmployeeData {

    public static List<Employee> getEmployees(){
        Employee zhangsan = new Employee(100, "zhangsan", 40, 12000);
        Employee lisi = new Employee(102, "lisi", 17, 3000);
        Employee wanwu = new Employee(102, "wanwu", 30, 6000);
        Employee zhaoliu = new Employee(102, "zhaoliu", 18, 5000);
        List<Employee> employees = new ArrayList<>();
        employees.add(zhangsan);
        employees.add(lisi);
        employees.add(wanwu);
        employees.add(zhaoliu);
        return employees;
    }
}
